package com.hxb.notificationdemo;

import android.app.Application;
import android.content.Context;

import com.alibaba.android.arouter.launcher.ARouter;


/**
 * @author h6900
 */
public class BaseApplication extends Application {

    private static Context mContext;


    @Override
    public void onCreate() {
        super.onCreate();
        mContext = getApplicationContext();
        //ARouter
        ARouter.openLog();  //打印日志
        ARouter.openDebug();
        //初始化ARouter
        ARouter.init(this);
    }

    public static Context getContext() {
        return mContext;
    }


}
